package com.newly.common.base.entity.business.Vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.newly.common.base.entity.business.Dto.BaseDto;
import lombok.Data;

/**
 * @anthor ljq
 * @date 2021/11/30 11:11
 */
@Data
public class MqttDeviceVo extends BaseDto {

    @JsonSerialize(using= ToStringSerializer.class)
    private long id;

    private String productKey;

    private String name;

    private int slot;

    private String ip;

    private int port;

    private int type;

    private String username;

    private String password;

    private int protocol;

    private int[] channelUsed;

    private int channelMax;

    private int[] channelSupport;

    private String gbId;

    private String siteId;

    private int typeAlias;
}
